<!-- 字符云配置 -->
<template>
    <div>
        <el-form-item label="最小字体">
            <avue-input-number
                v-model="main.activeOption.minFontSize"
                :disabled="disabled"
            ></avue-input-number>
        </el-form-item>
        <el-form-item label="最大字体">
            <avue-input-number
                v-model="main.activeOption.maxFontSize"
                :disabled="disabled"
            ></avue-input-number>
        </el-form-item>
        <el-form-item label="间距">
            <avue-input-number
                v-model="main.activeOption.split"
                :disabled="disabled"
            ></avue-input-number>
        </el-form-item>
        <el-form-item label="旋转">
            <avue-switch
                v-model="main.activeOption.rotate"
                :disabled="disabled"
            ></avue-switch>
        </el-form-item>
    </div>
</template>

<script>
export default {
    name: "wordCloud",
    inject: ["main", "contain"],
    data() {
        return {
            disabled: this.contain.activeObj.isLock
        };
    }
};
</script>

<style></style>
